home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
IAC_STUF
/
KILLDRIV.C
< prev
next >
Wrap
C/C++ Source or Header
|
1989-11-29
|
327b
|
25 lines
main()
{
int err;
int driverRef;
printf("Looking for the IAC Driver...\n\n");
err = OpenDriver("\p.IAC-DRIVER", &driverRef);
printf("Closing the IAC Driver...\n\n");
err = CloseDriver(driverRef);
if (err == noErr)
printf("Successfully closed.\n");
else
printf("Error closing driver (%d)\n", err);
}